package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 监测数据对象 monitoring_data
 * 
 * @author ruoyi
 * @date 2024-12-16
 */
public class MonitoringData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 养殖池编号 */
    @Excel(name = "养殖池编号")
    private String poolNo;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 数值 */
    @Excel(name = "数值")
    private Long val;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPoolNo(String poolNo) 
    {
        this.poolNo = poolNo;
    }

    public String getPoolNo() 
    {
        return poolNo;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setVal(Long val) 
    {
        this.val = val;
    }

    public Long getVal() 
    {
        return val;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("poolNo", getPoolNo())
            .append("unit", getUnit())
            .append("val", getVal())
            .toString();
    }
}
